export class FilterResponse<T extends Record<string, any>> {
   constructor(protected data: T, protected filterItem: (keyof T)[] = []) {}
   public filter() {
      this.data.keys().forEach((item) => {
         if (this.filterItem.includes(item)) delete this.data[item]
      })

      return this.data
   }
}
